//
//  BrandDisplayHeaderView.m
//  Blank
//
//  Created by whg－54 on 15/9/24.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "BrandDisplayHeaderView.h"
#import <Masonry.h>

@interface BrandDisplayHeaderView()



@end
@implementation BrandDisplayHeaderView

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/


- (instancetype)initWithReuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithReuseIdentifier:reuseIdentifier];
    
    self.titleLabel = [[UILabel alloc]init];
    
    [self.contentView addSubview:self.titleLabel];
    return self;

}

- (void) layoutSubviews
{
    self.titleLabel.frame = CGRectMake(5*Windth, 5*Height, 30*Windth, 30*Height);
    
    if ([NightModel getColorModel]) {
        self.titleLabel.textColor = [UIColor whiteColor];

    }
    else{
        self.titleLabel.textColor = [UIColor blackColor];
        
    }
    
    
    
    self.titleLabel.font = [UIFont fontWithName:@"TimesNewRomanPS-BoldItalicMT" size:25];
    
    self.titleLabel.textAlignment = 1;
    
    
    
    
    
    
    

}




@end
